<?php /*a:3:{s:79:"F:\phpstudy\PHPTutorial\WWW\tp6cms\application\admin\view\collection\rules.html";i:1557802285;s:74:"F:\phpstudy\PHPTutorial\WWW\tp6cms\application\admin\view\Common\head.html";i:1557047321;s:74:"F:\phpstudy\PHPTutorial\WWW\tp6cms\application\admin\view\common\left.html";i:1557793055;}*/ ?>
<!DOCTYPE html>
<html><head>
	    <meta charset="utf-8">
    <title>ThinkPHP5.0</title>

    <meta name="description" content="Dashboard">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!--Basic Styles-->
    <link href="/static/admin/style/bootstrap.css" rel="stylesheet">
    <link href="/static/admin/style/font-awesome.css" rel="stylesheet">
    <link href="/static/admin/style/weather-icons.css" rel="stylesheet">

    <!--Beyond styles-->
    <link id="beyond-link" href="/static/admin/style/beyond.css" rel="stylesheet" type="text/css">
    <link href="/static/admin/style/demo.css" rel="stylesheet">
    <link href="/static/admin/style/typicons.css" rel="stylesheet">
    <link href="/static/admin/style/animate.css" rel="stylesheet">
    <style type="text/css">
        .form-controller{ width: 200px; float: left; margin-right: 20px;}
        </style>
</head>
<body>
	<!-- 头部 -->
	<div class="navbar">
    <div class="navbar-inner">
        <div class="navbar-container">
            <!-- Navbar Barnd -->
            <div class="navbar-header pull-left">
                <a href="#" class="navbar-brand">
                    <small>
                        <img src="/static/admin/images/logo.png" alt="">
                    </small>
                </a>
            </div>
            <!-- /Navbar Barnd -->
            <!-- Sidebar Collapse -->
            <div class="sidebar-collapse" id="sidebar-collapse">
                <i class="collapse-icon fa fa-bars"></i>
            </div>
            <!-- /Sidebar Collapse -->
            <!-- Account Area and Settings -->
            <div class="navbar-header pull-right">
                <div class="navbar-account">
                    <ul class="account-area">
                        <li>
                            <a class="login-area dropdown-toggle" data-toggle="dropdown">
                                <div class="avatar" title="View your public profile">
                                    <img src="/static/admin/images/adam-jansen.jpg">
                                </div>
                                <section>
                                    <h2><span class="profile"><span>admin</span></span></h2>
                                </section>
                            </a>
                            <!--Login Area Dropdown-->
                            <ul class="pull-right dropdown-menu dropdown-arrow dropdown-login-area">
                                <li class="username"><a>David Stevenson</a></li>
                                <li class="dropdown-footer">
                                    <a href="/admin/user/logout.html">
                                        退出登录
                                    </a>
                                </li>
                                <li class="dropdown-footer">
                                    <a href="/admin/user/changePwd.html">
                                        修改密码
                                    </a>
                                </li>
                            </ul>
                            <!--/Login Area Dropdown-->
                        </li>
                        <!-- /Account Area -->
                        <!--Note: notice that setting div must start right after account area list.
                        no space must be between these elements-->
                        <!-- Settings -->
                    </ul>
                </div>
            </div>
            <!-- /Account Area and Settings -->
        </div>
    </div>
</div>
	<!-- /头部 -->
	
	<div class="main-container container-fluid">
		<div class="page-container">
			            <!-- Page Sidebar -->
                        <div class="page-sidebar" id="sidebar">
                                <!-- Page Sidebar Header-->
                                <div class="sidebar-header-wrapper">
                                    <input class="searchinput" type="text">
                                    <i class="searchicon fa fa-search"></i>
                                    <div class="searchhelper">Search Reports, Charts, Emails or Notifications</div>
                                </div>
                                <!-- /Page Sidebar Header -->
                                <!-- Sidebar Menu -->
                                <ul class="nav sidebar-menu">
    <!--Dashboard-->
    <li > <a href="#" class="menu-dropdown">
        <i class="menu-icon fa fa-cog"></i>
        <span class="menu-text">系统设置</span>
        <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="<?php echo url('admin/config/index'); ?>">
                    <span class="menu-text">
                        配置管理 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li > <a href="#" class="menu-dropdown">
        <i class="menu-icon fa fa-user"></i>
        <span class="menu-text">管理员</span>
        <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="">
                    <span class="menu-text">
                        管理列表 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li > <a href="#" class="menu-dropdown">
        <i class="menu-icon fa fa-folder"></i>
        <span class="menu-text">栏目管理</span>
        <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="<?php echo url('admin/cate/index'); ?>">
                    <span class="menu-text">
                        栏目列表 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
            <li>
                <a href="<?php echo url('admin/cate/create'); ?>">
                    <span class="menu-text">
                        栏目添加 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li > <a href="#" class="menu-dropdown">
        <i class="menu-icon fa fa-file-text"></i>
        <span class="menu-text">文档管理</span>
        <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="<?php echo url('content/index'); ?>">
                    <span class="menu-text">
                        文章列表 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
            <li>
                <a href="<?php echo url('content/create'); ?>">
                    <span class="menu-text">
                        文章添加 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li > <a href="#" class="menu-dropdown">
        <i class="menu-icon fa fa-maxcdn"></i>
        <span class="menu-text">模型管理</span>
        <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="<?php echo url('models/create'); ?>">
                    <span class="menu-text">
                        添加模型 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
            <li>
                <a href="<?php echo url('models/index'); ?>">
                    <span class="menu-text">
                        模型列表 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li > <a href="#" class="menu-dropdown">
        <i class="menu-icon fa fa-tasks"></i>
        <span class="menu-text">自定义字段管理</span>
        <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="<?php echo url('fields/create'); ?>">
                    <span class="menu-text">
                        添加字段 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
            <li>
                <a href="<?php echo url('fields/index'); ?>">
                    <span class="menu-text">
                        字段列表 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li>
        <a href="#" class="menu-dropdown">
            <i class="menu-icon fa fa-users"></i>
            <span class="menu-text">会员管理</span>
            <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="/admin/document/index.html">
                    <span class="menu-text">
                        文章列表 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li  class="open" > <a href="#"
        class="menu-dropdown">
        <i class="menu-icon fa fa-lock"></i>
        <span class="menu-text">权限配置</span>
        <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="">
                    <span class="menu-text">
                        规则管理 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
            <li>
                <a href="">
                    <span class="menu-text">
                        用户组管理 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li  > <a href="#" class="menu-dropdown">
        <i class="menu-icon fa  fa-video-camera"></i>
        <span class="menu-text">广告管理</span>
        <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="<?php echo url('adpos/index'); ?>">
                    <span class="menu-text">
                        广告位管理 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
            <li>
                <a href="<?php echo url('ad/index'); ?>">
                    <span class="menu-text">
                        广告管理 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li>
        <a href="#" class="menu-dropdown">
            <i class="menu-icon fa fa-sitemap"></i>
            <span class="menu-text">数据库管理</span>
            <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="">
                    <span class="menu-text">
                        备份数据库 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li>
        <a href="#" class="menu-dropdown">
            <i class="menu-icon fa fa-dashboard "></i>
            <span class="menu-text">模板管理</span>
            <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="">
                    <span class="menu-text">
                        文章列表 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>

    <li class="open" > <a href="#" class="menu-dropdown">
        <i class="menu-icon fa fa-bug"></i>
        <span class="menu-text">采集管理</span>
        <i class="menu-expand"></i>
        </a>
        <ul class="submenu">
            <li>
                <a href="<?php echo url('Collection/create'); ?>">
                    <span class="menu-text">
                        添加采集节点 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
            <li>
                <a href="<?php echo url('Collection/index'); ?>">
                    <span class="menu-text">
                        采集节点列表 </span>
                    <i class="menu-expand"></i>
                </a>
            </li>
        </ul>
    </li>



</ul>
                                <!-- /Sidebar Menu -->
                            </div>
            <!-- /Page Sidebar -->
            <!-- Page Content -->
            <div class="page-content">
                <!-- Page Breadcrumb -->
                <div class="page-breadcrumbs">
                    <ul class="breadcrumb">
                                        <li>
                        <a href="<?php echo url('index/index'); ?>">系统</a>
                    </li>
                                        <li>
                        <a href="<?php echo url('collection/index'); ?>">采集管理</a>
                    </li>
                                        <li class="active">添加采集内容规则</li>
                                        </ul>
                </div>
                <!-- /Page Breadcrumb -->

                <!-- Page Body -->
                <div class="page-body">
                    
<div class="row">
    <div class="col-lg-12 col-sm-12 col-xs-12">
        <div class="widget">
            <div class="widget-header bordered-bottom bordered-blue">
                <span class="widget-caption">新增内容采集规则</span>
            </div>
            <div class="widget-body">
                <div id="horizontal-form">
                    <form class="form-horizontal" role="form" action="" method="post">
                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">标题</label>
                            <div class="col-sm-6">
                                <input class="form-control form-controller" placeholder="采集规则" name="title[0]" required="" type="text">
                                <input class="form-control form-controller" placeholder="采集属性" name="title[1]" required="" type="text">
                                <input class="form-control form-controller" placeholder="过滤规则" name="title[2]" type="text">
                            </div>
                            <p class="help-block col-sm-4 red">* 必填</p>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">关键词</label>
                            <div class="col-sm-6">
                                <input class="form-control form-controller" placeholder="采集规则" name="keywords[0]" type="text">
                                <input class="form-control form-controller" placeholder="采集属性" name="keywords[1]" type="text">
                                <input class="form-control form-controller" placeholder="过滤规则" name="keywords[2]" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">描述</label>
                            <div class="col-sm-6">
                                <input class="form-control form-controller" placeholder="采集规则" name="description[0]" type="text">
                                <input class="form-control form-controller" placeholder="采集属性" name="description[1]" type="text">
                                <input class="form-control form-controller" placeholder="过滤规则" name="description[2]" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">作者</label>
                            <div class="col-sm-6">
                                <input class="form-control form-controller" placeholder="采集规则" name="writer[0]" type="text">
                                <input class="form-control form-controller" placeholder="采集属性" name="writer[1]" type="text">
                                <input class="form-control form-controller" placeholder="过滤规则" name="writer[2]" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">来源</label>
                            <div class="col-sm-6">
                                <input class="form-control form-controller" placeholder="采集规则" name="source[0]" type="text">
                                <input class="form-control form-controller" placeholder="采集属性" name="source[1]" type="text">
                                <input class="form-control form-controller" placeholder="过滤规则" name="source[2]" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">内容</label>
                            <div class="col-sm-6">
                                <input class="form-control form-controller" placeholder="采集规则" name="content[0]" type="text">
                                <input class="form-control form-controller" placeholder="采集属性" name="content[1]" type="text">
                                <input class="form-control form-controller" placeholder="过滤规则" name="content[2]" type="text">
                            </div>
                        </div>
                        <?php if($fieldes): if(is_array($fieldes) || $fieldes instanceof \think\Collection || $fieldes instanceof \think\Paginator): $i = 0; $__LIST__ = $fieldes;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right"><?php echo htmlentities($vo['cname']); ?></label>
                            <div class="col-sm-6">
                                <input class="form-control form-controller" placeholder="采集规则" name="<?php echo htmlentities($vo['ename']); ?>[0]" type="text">
                                <input class="form-control form-controller" placeholder="采集属性" name="<?php echo htmlentities($vo['ename']); ?>[1]" type="text">
                                <input class="form-control form-controller" placeholder="过滤规则" name="<?php echo htmlentities($vo['ename']); ?>[2]" type="text">
                            </div>
                        </div>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                        <?php endif; ?>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-default">保存信息</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

                </div>
                <!-- /Page Body -->
            </div>
            <!-- /Page Content -->
		</div>	
	</div>

	    <!--Basic Scripts-->
    <script src="/static/admin/style/jquery_002.js"></script>
    <script src="/static/admin/style/bootstrap.js"></script>
    <script src="/static/admin/style/jquery.js"></script>
    <!--Beyond Scripts-->
    <script src="/static/admin/style/beyond.js"></script>
    


</body></html>